PreviousNextTracker indexSee it online !

(235/314) 3614567 - console on windows fails to redirect output of commands

I just installed java 7 SE Update 25 and after doing so running this command in jEdit console:

mysqldump --opt -u root -p databasename > databasename.dump.sql

fails with the error:

mysqldump: Couldn't find table: ">"

I am able to run the command successfully from window command prompt.

I'm running windows 7 and I've just updated jEdit to 5.0 and the console plugin to 5.1.2 to see if this would alleviate the issue but it did not.

I tried rolling back to Java 7 update 21 with no success, however rolling back to Java 7 Update 17 fixed the issue.

Submitted ned775 - 2013-06-24 - 00:08:15z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2013-06-24 - 03:50:24z
ezust
This has nothing to do with the mysqldump command.
This is a windows-only issue. On linux redirection of commands works fine.

This also doesn't seem to be related to what version of java you are using.
I can see that Console in Java 7 version 21 and 25 behave the same way.

Did redirection of commands in Console on Windows work at one time before? If so, what version of Console did it work with?
2013-06-24 - 04:02:24z
ned775
Prior to installing the java update I was running jEdit 4.5.1 with console 4.5.

I use jEdit every day and I've never had this issue until I installed the java 7 update 25. I assumed this was not an issue with mysqldump because I could still run the command via windows cmd prompt so I assumed the java update to be the most likely cause. Nothing else has changed on my system other than java since I last ran the mysqldump command.
2013-06-24 - 05:01:24z
ezust
Workaround: run the command without the > redirectfile.txt and just hit ctrl-ENTER so its output goes to a new buffer. Then you can save-as from there.

Attachments